<?php include load_template('_subnav.php') ?>
<h1>Inbox</h1>

<p><?php echo link_to('Add New Form',array('controller'=>'admin/inbox' ,'action'=>'modify')); ?></p>

<div class='section'>
<p>By placing a hidden field called <b>form_id</b> with the value of the Form Id given by this system in your forms you can <?php echo  link_to('track site inquiries',array('controller'=>'admin/inbox' ,'action'=>'leads')
) ?>.<br />You must post the form to <b>http://<?php echo $_SERVER['HTTP_HOST'].get_installed_path(); ?>/intake</b><br><b>Example</b>:
<code>&lt;form action='http://<?php echo $_SERVER['HTTP_HOST'].get_installed_path(); ?>/intake' method='post'&gt;<br>&lt;input type='hidden' name='form_id' value='1'&gt;<br>&lt;/form&gt;</code></p>
</div>
<h2>Currently Tracked Forms</h2>

<?php
    $report->set_action('edit',url_for(array('controller'=>'admin/inbox' ,'action'=>'modify')));
    $report->set_action('delete',url_for(array('controller'=>'admin/inbox' ,'action'=>'delete')));
    echo  $report->Render(30) ;
?>